package com.groupbuying.customer.pojo;

import java.util.HashMap;
import java.util.Map;

/**
 * @anthor wenguoqiang
 * @date: 2019/01/09 20:56
 * @company 蒙泰互联网公司
 * @des
 **/
public class CustomerEnum {

    /**
     * es缓存index
     */
    public static final String ES_INDEX = "customer";
    /**
     * es缓存type
     */
    public static final String ES_TYPE = "customer";
    /**
     * 返回常量 RETURN_TRUE 成功
     */
    public static final String RETURN_TRUE = "true";
    /**
     * 返回常量 RETURN_FALSE 失败
     */
    public static final String RETURN_FALSE = "false";
    /**
     * 会员冻结状态，1表示冻结
     */
    public static final String CUSTOMER_FROZENSTATE_FROZEN = "1";
    /**
     * 会员冻结状态，0表示未冻结
     */
    public static final String CUSTOMER_FROZENSTATE_UNFROZEN = "0";
    /**
     * 会员类型，0表示普通会员
     */
    public static final String CUSTOMER_CUSTOMERTYPE_ORDINARY = "0";
    /**
     * 会员类型，1表示企业会员
     */
    public static final String CUSTOMER_CUSTOMERTYPE_ENTERPRISE = "1";
    /**
     * 会员类型 2表示企业员工
     */
    public static final String CUSTOMER_CUSTOMERTYPE_STAFF = "2";

    /**
     * 会员激活状态，1表示激活
     */
    public static final String CUSTOMER_ACTIVESTATE_ACTIVATE = "1";
    /**
     * 会员激活状态，0表示未激活
     */
    public static final String CUSTOMER_ACTIVESTATE_UNACTIVATE = "0";

    /**
     * 密码强度：1表示低
     */
    public static final String PWD_STRENGTH_WEAK = "1";

    /**
     * 密码强度：2表示中
     */
    public static final String PWD_STRENGTH_MEDIUM = "2";

    /**
     * 密码强度：3表示高
     */
    public static final String PWD_STRENGTH_STRONG = "3";

    /**
     * 会员编号前缀
     */
    public static final String CUSTOMER_NO_PREFIX = "CUS";

    /**
     * 冻结类型 1账户被盗 2严重违规3异常登录4其他原因
     */
    public static final String CUSTOMER_FROZENTYPE_ACCOUNTSTOLEN = "1";
    /**
     * 冻结类型 1账户被盗 2严重违规3异常登录4其他原因
     */
    public static final String CUSTOMER_FROZENTYPE_BREAKRULE = "2";
    /**
     * 冻结类型 1账户被盗 2严重违规3异常登录4其他原因
     */
    public static final String CUSTOMER_FROZENTYPE_UNUSUALLOGIN = "3";
    /**
     * 冻结类型 1账户被盗 2严重违规3异常登录4其他原因
     */
    public static final String CUSTOMER_FROZENTYPE_OTHERREASON = "4";
    private static Map<String, String> customerTypeMap = new HashMap<String, String>();

    /**
     * 用户标示 ""或空为够样用户 k-够样团购用户
     */
    public static final String CUSTOMER_FROM_GROUPBUYING = "k";

    /**
     * 爱的家会员类型，0-不是 ，1-是
     */
    public static final String CUSTOMER_ADJ_NO = "0";
    public static final String CUSTOMER_ADJ_YES = "1";

    /**
     * 是否市场专员，0-不是 ，1-是
     */
    public static final String CUSTOMER_MARKET_NO = "0";
    public static final String CUSTOMER_MARKET_YES = "1";
}
